﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace lazy2
{
    class Program
    {
        //1、猫、狗、鸭、猴，（吃、游泳、爬树）
        static void Main(string[] args)
        {
            Duck duck = new Duck("鸭子");
            duck.Eat();
            duck.Swim();
            Console.WriteLine("------------------");
            Dog dog = new Dog("狗子");
            dog.Eat();
            dog.Swim();
            Console.WriteLine("------------------");
            Cat cat = new Cat("猫子");
            cat.Eat();
            cat.Climb();
            Console.WriteLine("------------------");
            Monkey monkey = new Monkey("猴子");
            monkey.Eat();
            monkey.Climb();
        }
    }
}
